package com.shop2cn.iapi.agentproducts.parameter;

import java.util.List;

public class DetailsCatalogDto {
	
	/**商品条码*/
	private String barcode;
	
	private Integer agentPriceType;
	
	/**市场价*/
	private double marketAmount;
	
	
    private String catalogId;

    private double directPrice;

    private double agentPrice;

    private int stock;
    /**真实库存，虚拟库存*/
    private int realStock;
    private int virtualStock;

    private String stockInfo;

    private double profit;

    private String sku;

    private String propertyValue;

    private boolean missedCatalog;

    private double advicePrice;

    private String parentCatalogId;

    private double weight;
    
    private List<DetailsSubCodeDto> subCodeList;

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public String getParentCatalogId() {
        return parentCatalogId;
    }

    public void setParentCatalogId(String parentCatalogId) {
        this.parentCatalogId = parentCatalogId;
    }

    public boolean isMissedCatalog() {
        return missedCatalog;
    }

    public void setMissedCatalog(boolean missedCatalog) {
        this.missedCatalog = missedCatalog;
    }

    public double getAdvicePrice() {
        return advicePrice;
    }

    public void setAdvicePrice(double advicePrice) {
        this.advicePrice = advicePrice;
    }
    

    /**
	 * @return realStock
	 */
	public int getRealStock() {
		return realStock;
	}

	/**
	 * @param realStock 要设置的 realStock
	 */
	public void setRealStock(int realStock) {
		this.realStock = realStock;
	}

	/**
	 * @return virtualStock
	 */
	public int getVirtualStock() {
		return virtualStock;
	}

	/**
	 * @param virtualStock 要设置的 virtualStock
	 */
	public void setVirtualStock(int virtualStock) {
		this.virtualStock = virtualStock;
	}

	public String getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId;
    }

    public double getDirectPrice() {
        return directPrice;
    }

    public void setDirectPrice(double directPrice) {
        this.directPrice = directPrice;
    }

    public double getAgentPrice() {
        return agentPrice;
    }

    public void setAgentPrice(double agentPrice) {
        this.agentPrice = agentPrice;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public String getStockInfo() {
        return stockInfo;
    }

    public void setStockInfo(String stockInfo) {
        this.stockInfo = stockInfo;
    }

    public double getProfit() {
        return profit;
    }

    public void setProfit(double profit) {
        this.profit = profit;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public String getPropertyValue() {
        return propertyValue;
    }
    

    /**
	 * @return marketAmount
	 */
	public double getMarketAmount() {
		return marketAmount;
	}

	/**
	 * @param marketAmount 要设置的 marketAmount
	 */
	public void setMarketAmount(double marketAmount) {
		this.marketAmount = marketAmount;
	}
	

	/**
	 * @return the barcode
	 */
	public String getBarcode() {
		return barcode;
	}

	/**
	 * @param barcode the barcode to set
	 */
	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}

	public void setPropertyValue(String propertyValue) {
        this.propertyValue = propertyValue;
    }

	
    /**
	 * @return the agentPriceType
	 */
	public Integer getAgentPriceType() {
		return agentPriceType;
	}

	/**
	 * @param agentPriceType the agentPriceType to set
	 */
	public void setAgentPriceType(Integer agentPriceType) {
		this.agentPriceType = agentPriceType;
	}

	public List<DetailsSubCodeDto> getSubCodeList() {
		return subCodeList;
	}

	public void setSubCodeList(List<DetailsSubCodeDto> subCodeList) {
		this.subCodeList = subCodeList;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "DetailsCatalogDto [barcode=" + barcode + ", agentPriceType=" + agentPriceType + ", marketAmount="
				+ marketAmount + ", catalogId=" + catalogId + ", directPrice=" + directPrice + ", agentPrice="
				+ agentPrice + ", stock=" + stock + ", realStock=" + realStock + ", virtualStock=" + virtualStock
				+ ", stockInfo=" + stockInfo + ", profit=" + profit + ", sku=" + sku + ", propertyValue="
				+ propertyValue + ", missedCatalog=" + missedCatalog + ", advicePrice=" + advicePrice
				+ ", parentCatalogId=" + parentCatalogId + ", weight=" + weight + "]";
	}
}
